package org.dftproject.genesis.data.impl;

import org.dftproject.genesis.data.IAttribute;

public class AttributeImpl extends EntityImpl implements IAttribute {
	
	private String name;
	private Object value;

	public AttributeImpl(String name, Object value) {
		this.name = name;
		this.value = value;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString() {
		return "Attribute(" + name + "=" + value + ")";
	}

}
